﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:local='clr-namespace:NczControlLibrary.Controls'
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

        <Style TargetType='local:Gborder'>
            <Setter Property='Template'>
                <Setter.Value>
                    <ControlTemplate TargetType='local:Gborder'>
                        <Border x:Name='_Border' Visibility='{TemplateBinding Property=Visibility}' Projection='{TemplateBinding Property=Projection}' Padding='{TemplateBinding Property=Padding}' OpacityMask='{TemplateBinding Property=OpacityMask}' Opacity='{TemplateBinding Property=Opacity}' VerticalAlignment='{TemplateBinding Property=VerticalAlignment}' HorizontalAlignment='{TemplateBinding Property=HorizontalAlignment}' Width='{TemplateBinding Property=Width}' Height='{TemplateBinding Property=Height}' FlowDirection='{TemplateBinding Property=FlowDirection}' Effect='{TemplateBinding Property=Effect}' DataContext='{TemplateBinding Property=DataContext}' CornerRadius='{TemplateBinding Property=CornerRadius}' Child='{TemplateBinding Property=Child}' BorderThickness='{TemplateBinding Property=BorderThickness}' Background='{TemplateBinding Property=Background}' BorderBrush='{TemplateBinding Property=BorderBrush}'></Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

</ResourceDictionary>
